package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.AccountPhoneLoginDao;
import com.tbit.uqbike.client.pojo.AccountPhoneLogin;
import com.tbit.uqbike.client.service.AccountPhoneLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chen
 * @Description: 一键登录
 * @Date: 创建于 10:49 2020/11/18
 */
@Service
public class AccountPhoneLoginServiceImpl implements AccountPhoneLoginService {

    @Autowired
    private AccountPhoneLoginDao accountPhoneLoginDao;

    @Override
    public AccountPhoneLogin getByAccountId(Integer accountId) {
        return accountPhoneLoginDao.getByAccountId(accountId);
    }
}
